package com.weilai.service;

import com.weilai.domain.ReportInfo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ReportInfoService {
    public List<ReportInfo> selectAllReportedInfo();
    //查询所有待处理举报信息
    public List<ReportInfo> selectReportedInfo();
    //查询单个
    public ReportInfo selectReportedInfoById(int id);
    //举报成功
    public void reportSuccessfully (int id);
    //举报失败
    public void reportFail (int id);
    //举报他人
    public void reportOthers(ReportInfo reportInfo);


}
